package view.listeners;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import view.MainFrame;

/**
 * This class gives the Controller Configuration Button in the Main Menu
 * its functionality.
 * 
 * @author Stephanie
 *
 */
public class ToControllerConfigMenuListener implements ActionListener {
	
	private MainFrame mainFrame;

	public ToControllerConfigMenuListener( MainFrame mainFrame ) {
		this.mainFrame = mainFrame;
	}
	@Override
	public void actionPerformed(ActionEvent e) {
		mainFrame.changeActivePanel("CONTROLLER_CONFIG_MENU");
	}

}
